[INFO] cloning repository https://github.com/oboard/mocketd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oboard/mocketd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foboard%2Fmocketd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foboard%2Fmocketd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 195313406f671d28abc7198603e08b1635642861
[INFO] testing oboard/mocketd/195313406f671d28abc7198603e08b1635642861 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foboard%2Fmocketd" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/oboard/mocketd
[INFO] finished tweaking git repo https://github.com/oboard/mocketd
[INFO] tweaked toml for git repo https://github.com/oboard/mocketd written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oboard/mocketd on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oboard/mocketd already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasmtime-jit-icache-coherence v23.0.2
[INFO] [stderr]   Downloaded cranelift-control v0.110.2
[INFO] [stderr]   Downloaded wasmtime-winch v23.0.2
[INFO] [stderr]   Downloaded cobs v0.2.3
[INFO] [stderr]   Downloaded cranelift-bitset v0.110.2
[INFO] [stderr]   Downloaded serde_spanned v0.6.7
[INFO] [stderr]   Downloaded embedded-io v0.4.0
[INFO] [stderr]   Downloaded sptr v0.3.2
[INFO] [stderr]   Downloaded cpufeatures v0.2.13
[INFO] [stderr]   Downloaded wat v1.215.0
[INFO] [stderr]   Downloaded wasmtime-types v23.0.2
[INFO] [stderr]   Downloaded id-arena v2.2.1
[INFO] [stderr]   Downloaded tokio-macros v2.4.0
[INFO] [stderr]   Downloaded wasmtime-asm-macros v23.0.2
[INFO] [stderr]   Downloaded debugid v0.8.0
[INFO] [stderr]   Downloaded toml_datetime v0.6.8
[INFO] [stderr]   Downloaded cranelift-native v0.110.2
[INFO] [stderr]   Downloaded clap_lex v0.7.2
[INFO] [stderr]   Downloaded zstd v0.13.2
[INFO] [stderr]   Downloaded addr2line v0.21.0
[INFO] [stderr]   Downloaded socket2 v0.5.7
[INFO] [stderr]   Downloaded clap v4.5.16
[INFO] [stderr]   Downloaded cc v1.1.13
[INFO] [stderr]   Downloaded toml_edit v0.22.20
[INFO] [stderr]   Downloaded mio v1.0.2
[INFO] [stderr]   Downloaded serde_json v1.0.125
[INFO] [stderr]   Downloaded ittapi-sys v0.4.0
[INFO] [stderr]   Downloaded clap_builder v4.5.15
[INFO] [stderr]   Downloaded winnow v0.6.18
[INFO] [stderr]   Downloaded chrono v0.4.38
[INFO] [stderr]   Downloaded wasmparser v0.212.0
[INFO] [stderr]   Downloaded gimli v0.28.1
[INFO] [stderr]   Downloaded zerocopy v0.7.35
[INFO] [stderr]   Downloaded wasmtime-environ v23.0.2
[INFO] [stderr]   Downloaded syn v2.0.74
[INFO] [stderr]   Downloaded wast v215.0.0
[INFO] [stderr]   Downloaded wit-parser v0.212.0
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded wasmtime-component-macro v23.0.2
[INFO] [stderr]   Downloaded wasmtime-cranelift v23.0.2
[INFO] [stderr]   Downloaded indexmap v2.4.0
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.110.2
[INFO] [stderr]   Downloaded cranelift-isle v0.110.2
[INFO] [stderr]   Downloaded cranelift-wasm v0.110.2
[INFO] [stderr]   Downloaded wasm-encoder v0.212.0
[INFO] [stderr]   Downloaded serde_derive v1.0.208
[INFO] [stderr]   Downloaded serde v1.0.208
[INFO] [stderr]   Downloaded bytes v1.7.1
[INFO] [stderr]   Downloaded toml v0.8.19
[INFO] [stderr]   Downloaded wasmtime v23.0.2
[INFO] [stderr]   Downloaded cpp_demangle v0.4.3
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.35
[INFO] [stderr]   Downloaded winch-codegen v0.21.2
[INFO] [stderr]   Downloaded uuid v1.10.0
[INFO] [stderr]   Downloaded jobserver v0.1.32
[INFO] [stderr]   Downloaded cranelift-frontend v0.110.2
[INFO] [stderr]   Downloaded postcard v1.0.8
[INFO] [stderr]   Downloaded wasmprinter v0.212.0
[INFO] [stderr]   Downloaded zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]   Downloaded libc v0.2.156
[INFO] [stderr]   Downloaded anyhow v1.0.86
[INFO] [stderr]   Downloaded cranelift-entity v0.110.2
[INFO] [stderr]   Downloaded tokio v1.39.2
[INFO] [stderr]   Downloaded async-trait v0.1.81
[INFO] [stderr]   Downloaded ittapi v0.4.0
[INFO] [stderr]   Downloaded psm v0.1.21
[INFO] [stderr]   Downloaded cranelift-bforest v0.110.2
[INFO] [stderr]   Downloaded wasmtime-cache v23.0.2
[INFO] [stderr]   Downloaded redox_syscall v0.5.3
[INFO] [stderr]   Downloaded fxprof-processed-profile v0.6.0
[INFO] [stderr]   Downloaded zstd-safe v7.2.1
[INFO] [stderr]   Downloaded cranelift-codegen v0.110.2
[INFO] [stderr]   Downloaded wasmtime-wit-bindgen v23.0.2
[INFO] [stderr]   Downloaded wasmtime-fiber v23.0.2
[INFO] [stderr]   Downloaded arbitrary v1.3.2
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.110.2
[INFO] [stderr]   Downloaded wasmtime-versioned-export-macros v23.0.2
[INFO] [stderr]   Downloaded wasmtime-jit-debug v23.0.2
[INFO] [stderr]   Downloaded wasmtime-component-util v23.0.2
[INFO] [stderr]   Downloaded wasmtime-slab v23.0.2
[INFO] [stderr]   Downloaded wasm-encoder v0.215.0
[INFO] [stderr]   Downloaded encoding_rs v0.8.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a8572a8d9e4cd8ed76506782daffc193ed1fd246e2051de6b6d035e3d3f0c4d
[INFO] running `Command { std: "docker" "start" "-a" "2a8572a8d9e4cd8ed76506782daffc193ed1fd246e2051de6b6d035e3d3f0c4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a8572a8d9e4cd8ed76506782daffc193ed1fd246e2051de6b6d035e3d3f0c4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a8572a8d9e4cd8ed76506782daffc193ed1fd246e2051de6b6d035e3d3f0c4d", kill_on_drop: false }`
[INFO] [stdout] 2a8572a8d9e4cd8ed76506782daffc193ed1fd246e2051de6b6d035e3d3f0c4d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a2e68d44a0c761d8d609de106d65b721c3adcd290f32f31acd23ef557881fe8
[INFO] running `Command { std: "docker" "start" "-a" "0a2e68d44a0c761d8d609de106d65b721c3adcd290f32f31acd23ef557881fe8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]    Compiling libc v0.2.156
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling cranelift-isle v0.110.2
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.110.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.110.2
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling slice-group-by v0.3.1
[INFO] [stderr]    Compiling arbitrary v1.3.2
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling embedded-io v0.4.0
[INFO] [stderr]    Compiling cobs v0.2.3
[INFO] [stderr]    Compiling cpp_demangle v0.4.3
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling cc v1.1.13
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cranelift-control v0.110.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling wasmtime-component-util v23.0.2
[INFO] [stderr]    Compiling syn v2.0.74
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling wasm-encoder v0.215.0
[INFO] [stderr]    Compiling wasm-encoder v0.212.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling wasmtime-component-macro v23.0.2
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling wasmtime-cache v23.0.2
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling debugid v0.8.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling directories-next v2.0.0
[INFO] [stderr]    Compiling wasmtime-asm-macros v23.0.2
[INFO] [stderr]    Compiling wast v215.0.0
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling clap_builder v4.5.15
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling ittapi-sys v0.4.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling cranelift-codegen v0.110.2
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling ittapi v0.4.0
[INFO] [stderr]    Compiling wasmtime-jit-icache-coherence v23.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling sptr v0.3.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling wasmtime-slab v23.0.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling wasmparser v0.212.0
[INFO] [stderr]    Compiling clap v4.5.16
[INFO] [stderr]    Compiling memfd v0.6.4
[INFO] [stderr]    Compiling serde_derive v1.0.208
[INFO] [stderr]    Compiling wasmtime-versioned-export-macros v23.0.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling wasmtime-fiber v23.0.2
[INFO] [stderr]    Compiling wasmtime v23.0.2
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling wat v1.215.0
[INFO] [stderr]    Compiling wit-parser v0.212.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling cranelift-bitset v0.110.2
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling postcard v1.0.8
[INFO] [stderr]    Compiling cranelift-entity v0.110.2
[INFO] [stderr]    Compiling regalloc2 v0.9.3
[INFO] [stderr]    Compiling wasmtime-wit-bindgen v23.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling cranelift-bforest v0.110.2
[INFO] [stderr]    Compiling tokio v1.39.2
[INFO] [stderr]    Compiling fxprof-processed-profile v0.6.0
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling object v0.36.3
[INFO] [stderr]    Compiling toml_edit v0.22.20
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling wasmtime-jit-debug v23.0.2
[INFO] [stderr]    Compiling wasmtime-types v23.0.2
[INFO] [stderr]    Compiling wasmprinter v0.212.0
[INFO] [stderr]    Compiling wasmtime-environ v23.0.2
[INFO] [stderr]    Compiling cranelift-frontend v0.110.2
[INFO] [stderr]    Compiling cranelift-native v0.110.2
[INFO] [stderr]    Compiling cranelift-wasm v0.110.2
[INFO] [stderr]    Compiling wasmtime-cranelift v23.0.2
[INFO] [stderr]    Compiling mocketd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `h_rd` is never used
[INFO] [stdout]    --> src/main.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn h_rd<T>(store: &mut Store<T>, instance: &Instance, ch: i32) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `h_re` is never used
[INFO] [stdout]    --> src/main.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn h_re<T>(store: &mut Store<T>, instance: &Instance) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_event` is never used
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn send_event(event_type: &str, data: Value) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         handle_receive(json_value);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         let _ = handle_receive(json_value);
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:153:26
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let store = unsafe { WASM_STORE.as_mut() };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let instance = unsafe { WASM_INSTANCE.as_ref() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let instance = unsafe { WASM_INSTANCE.as_ref().unwrap() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:222:41
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut store: Store<()> = unsafe { WASM_STORE.take().unwrap() };
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s
[INFO] running `Command { std: "docker" "inspect" "0a2e68d44a0c761d8d609de106d65b721c3adcd290f32f31acd23ef557881fe8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a2e68d44a0c761d8d609de106d65b721c3adcd290f32f31acd23ef557881fe8", kill_on_drop: false }`
[INFO] [stdout] 0a2e68d44a0c761d8d609de106d65b721c3adcd290f32f31acd23ef557881fe8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 514091275c1e578fd7ca7df7feae32583b1b7d218a121190928c925d0a5a4651
[INFO] running `Command { std: "docker" "start" "-a" "514091275c1e578fd7ca7df7feae32583b1b7d218a121190928c925d0a5a4651", kill_on_drop: false }`
[INFO] [stderr]    Compiling mocketd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `h_rd` is never used
[INFO] [stdout]    --> src/main.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn h_rd<T>(store: &mut Store<T>, instance: &Instance, ch: i32) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `h_re` is never used
[INFO] [stdout]    --> src/main.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn h_re<T>(store: &mut Store<T>, instance: &Instance) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_event` is never used
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn send_event(event_type: &str, data: Value) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         handle_receive(json_value);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         let _ = handle_receive(json_value);
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:153:26
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let store = unsafe { WASM_STORE.as_mut() };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let instance = unsafe { WASM_INSTANCE.as_ref() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let instance = unsafe { WASM_INSTANCE.as_ref().unwrap() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:222:41
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut store: Store<()> = unsafe { WASM_STORE.take().unwrap() };
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.75s
[INFO] running `Command { std: "docker" "inspect" "514091275c1e578fd7ca7df7feae32583b1b7d218a121190928c925d0a5a4651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "514091275c1e578fd7ca7df7feae32583b1b7d218a121190928c925d0a5a4651", kill_on_drop: false }`
[INFO] [stdout] 514091275c1e578fd7ca7df7feae32583b1b7d218a121190928c925d0a5a4651
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5c0ae38166cab15354f6e1dba59f2610617717b96ba84f246c5b18377f8d814e
[INFO] running `Command { std: "docker" "start" "-a" "5c0ae38166cab15354f6e1dba59f2610617717b96ba84f246c5b18377f8d814e", kill_on_drop: false }`
[INFO] [stderr] warning: function `h_rd` is never used
[INFO] [stderr]    --> src/main.rs:134:4
[INFO] [stderr]     |
[INFO] [stderr] 134 | fn h_rd<T>(store: &mut Store<T>, instance: &Instance, ch: i32) -> Result<()> {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `h_re` is never used
[INFO] [stderr]    --> src/main.rs:143:4
[INFO] [stderr]     |
[INFO] [stderr] 143 | fn h_re<T>(store: &mut Store<T>, instance: &Instance) -> Result<()> {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `send_event` is never used
[INFO] [stderr]    --> src/main.rs:152:4
[INFO] [stderr]     |
[INFO] [stderr] 152 | fn send_event(event_type: &str, data: Value) {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]   --> src/main.rs:77:25
[INFO] [stderr]    |
[INFO] [stderr] 77 |                         handle_receive(json_value);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 77 |                         let _ = handle_receive(json_value);
[INFO] [stderr]    |                         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/main.rs:153:26
[INFO] [stderr]     |
[INFO] [stderr] 153 |     let store = unsafe { WASM_STORE.as_mut() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/main.rs:154:29
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let instance = unsafe { WASM_INSTANCE.as_ref() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/main.rs:221:29
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let instance = unsafe { WASM_INSTANCE.as_ref().unwrap() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/main.rs:222:41
[INFO] [stderr]     |
[INFO] [stderr] 222 |     let mut store: Store<()> = unsafe { WASM_STORE.take().unwrap() };
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `mocketd` (bin "mocketd" test) generated 8 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mocketd-0cc9ceadbc245c22)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5c0ae38166cab15354f6e1dba59f2610617717b96ba84f246c5b18377f8d814e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c0ae38166cab15354f6e1dba59f2610617717b96ba84f246c5b18377f8d814e", kill_on_drop: false }`
[INFO] [stdout] 5c0ae38166cab15354f6e1dba59f2610617717b96ba84f246c5b18377f8d814e
